package mn.idax.exchange.otc.mapper;

import java.util.List;
import mn.idax.exchange.otc.entity.OTCArbitrationDetail;
import mn.idax.exchange.otc.entity.OTCArbitrationDetailExample;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

public interface OTCArbitrationDetailMapper {
    int countByExample(OTCArbitrationDetailExample example);

    int deleteByExample(OTCArbitrationDetailExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(OTCArbitrationDetail record);

    int insertSelective(OTCArbitrationDetail record);

    List<OTCArbitrationDetail> selectByExampleWithRowbounds(OTCArbitrationDetailExample example, RowBounds rowBounds);

    List<OTCArbitrationDetail> selectByExample(OTCArbitrationDetailExample example);

    OTCArbitrationDetail selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") OTCArbitrationDetail record, @Param("example") OTCArbitrationDetailExample example);

    int updateByExample(@Param("record") OTCArbitrationDetail record, @Param("example") OTCArbitrationDetailExample example);

    int updateByPrimaryKeySelective(OTCArbitrationDetail record);

    int updateByPrimaryKey(OTCArbitrationDetail record);
}